package com.chenl.consumer.util;//package com.chenl.provider.controller;
//
//import com.fasterxml.jackson.databind.introspect.Annotated;
//import lombok.extern.slf4j.Slf4j;
//import org.aspectj.lang.ProceedingJoinPoint;
//import org.aspectj.lang.annotation.Around;
//import org.aspectj.lang.annotation.Aspect;
//import org.aspectj.lang.reflect.MethodSignature;
//import org.springframework.stereotype.Component;
//import org.springframework.web.context.request.RequestContextHolder;
//import org.springframework.web.context.request.ServletRequestAttributes;
//
//import javax.servlet.http.HttpServletRequest;
//
//@Slf4j
//@Aspect
//@Component
//public class TestAspect {
//    @Around("@annotation(com.chenl.provider.controller.AopAnno)")
//    public void  method(ProceedingJoinPoint jp){
//        MethodSignature signature = (MethodSignature) jp.getSignature();
//        ServletRequestAttributes requestAttributes  = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();
//        HttpServletRequest request = requestAttributes.getRequest();
//        MethodExporter exporter = signature.getMethod().getDeclaredAnnotation(MethodExporter.class);
//    }
//}
